From: Jasper St. Pierre Date: Wed, 11 Sep 2013 20:21:40 +0000 (-0400) Subject: workspacesView: Remove spacing X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3131 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=87016f96204040a49b2bfa152c15c7a63ebd6fc8;p=gnome-shell.git workspacesView: Remove spacing It's not used in the theme and it complicates the layout code a bit too much; in fact, if set, things start breaking. --- diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 6ac7450cc..d364de6f9 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -48,17 +48,9 @@ const WorkspacesView = new Lang.Class({ this.actor.connect('destroy', Lang.bind(this, this._onDestroy)); - this.actor.connect('style-changed', Lang.bind(this, - function() { - let node = this.actor.get_theme_node(); - this._spacing = node.get_length('spacing'); - this._updateWorkspaceActors(false); - })); - this._fullGeometry = null; this._actualGeometry = null; - this._spacing = 0; this._animating = false; // tweening this._scrolling = false; // swipe-scrolling this._animatingScroll = false; // programatically updating the adjustment @@ -216,7 +208,7 @@ const WorkspacesView = new Lang.Class({ Tweener.removeTweens(workspace.actor); - let y = (w - active) * (this._fullGeometry.height + this._spacing); + let y = (w - active) * this._fullGeometry.height; if (showAnimation) { let params = { y: y,